package java51_19;

import java.util.*;

public class Page<T extends Comparable<T>> {
	public List<T> datas = new ArrayList<T>();

	public void add(T t) {
		datas.add(t);
	}

	public static void main(String[] args) {
		Page<Student> p = new Page<Student>();
		p.add(new Student("王莽", "1341", 43, Sex.男));
		p.add(new Student("刘秀", "1341", 43, Sex.男));
		System.out.println(p.datas);
	}
}
